package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ParameterMode {

    private int beginIndex;
    private int endIndex;
    private boolean in;
    private boolean out;
    private boolean inout;

    public ParameterMode(int beginIndex, int endIndex, boolean in, boolean out, boolean inout) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.in = in;
        this.out = out;
        this.inout = inout;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isIn() {
        return in;
    }

    public boolean isOut() {
        return out;
    }

    public boolean isInout() {
        return inout;
    }

}
